package com.etc.entity;

import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@ToString
public class Types {
    private Integer type_no;

    private String type_name;


    public Integer getType_no() {
        return type_no;
    }

    public void setType_no(Integer type_no) {
        this.type_no = type_no;
    }

    public String getType_name() {
        return type_name;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name == null ? null : type_name.trim();
    }

    public Types() {
    }

    public Types(Integer type_no, String type_name) {
        this.type_no = type_no;
        this.type_name = type_name;
    }

    public Types(String type_name) {
        this.type_name = type_name;
    }
}